/***    
request.globalRequest(url,请求方式,obj数据,123,true单,true 多array)url, method, data, power, isUpload, isFiles
1===没登录前的请求头
2===携带请求头token
3===刷新token
***/
import request from '@/util/network_request/request.ts'
const apiAccount = {}
//银行卡识别
apiAccount.bankcard = (data) => request.globalRequest({
	url: `/mobile/identify/bankcard`,
	method: 'post',
	data,
	power: 2
})
// 保存添加银行卡号
apiAccount.saveBankcard = (data) => request.globalRequest({
	url: `/mobile/network/emp/band/save`,
	method: 'post',
	data,
	power: 2
})
// 获取银行卡列表
apiAccount.getBandList = (data) => request.globalRequest({
	url: `/mobile/network/emp/band/getBandList`,
	method: 'post',
	data,
	power: 2
})
//获取银行卡详情
apiAccount.getBandDetail = (id) => request.globalRequest({
	url: `/mobile/network/emp/band/getBandDetail/${id}`,
	method: 'get',
	power: 2
})
//解绑银行卡
apiAccount.unBindingBand = (id) => request.globalRequest({
	url: `/mobile/network/emp/band/unBindingBand/${id}`,
	method: 'post',
	power: 2
})
// 获取银行卡下拉数据
apiAccount.getNetworkEmpBandSelect = () => request.globalRequest({
	url: `/mobile/select/getNetworkEmpBandSelect`,
	method: 'get',
	power: 2
})
// 获取工单记录
apiAccount.getOrderRecord = (data) => request.globalRequest({
	url: `/mobile/network/getOrderRecord`,
	method: 'post',
	data,
	power: 2
})
// 获取工单记录详情
apiAccount.getWithdrawOrderRecordDetail = (workId) => request.globalRequest({
	url: `/mobile/network/getWithdrawOrderRecordDetail/${workId}`,
	method: 'get',
	power: 2
})
// 获取提现账户金额
apiAccount.getWithdrawMoney = () => request.globalRequest({
	url: `/mobile/network/getWithdrawMoney`,
	method: 'get',
	power: 2
})
// 获取提现记录
apiAccount.getWithdrawRecordList = (data) => request.globalRequest({
	url: `/mobile/network/getWithdrawRecordList`,
	data,
	method: 'post',
	power: 2
})
// 获取提现记录详情
apiAccount.getWithdrawRecordDetail = (id) => request.globalRequest({
	url: `/mobile/network/getWithdrawRecordDetail/${id}`,
	method: 'get',
	power: 2
})
// 根据提现单ID获取提现工单
apiAccount.getWithdrawOrderList = (id) => request.globalRequest({
	url: `/mobile/network/getWithdrawOrderList/${id}`,
	method: 'get',
	power: 2
})
// 获取可提现工单列表
apiAccount.getNoWithdrawOrderList = (data) => request.globalRequest({
	url: `/mobile/network/getWithdrawOrderList`,
	data,
	method: 'post',
	power: 2
})
//获取手续费策略
apiAccount.getNetworkWithdrawHandlingFeeStrategy = () => request.globalRequest({
	url: `/mobile/network/getNetworkWithdrawHandlingFeeStrategy`,
	method: 'get',
	power: 2
})
//保存申请提现
apiAccount.saveWithdraw = (data) => request.globalRequest({
	url: `/mobile/network/save`,
	data,
	method: 'post',
	power: 2
})
//获取提现权限
apiAccount.getWithdrawRoot = () => request.globalRequest({
	url: `/mobile/network/getWithdrawRoot`,
	method: 'get',
	power: 2
})
//获取查询费用权限
apiAccount.getSelectFeeRoot = () => request.globalRequest({
	url: `/mobile/network/getSelectFeeRoot`,
	method: 'get',
	power: 2
})
export default apiAccount